package com.woniuxy.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

@Data
@Accessors(chain = true)
public class User {
    private int uid;
    private String account;
    private String pwd;
    private String image;
    private BigDecimal money;
    private int status;

    //一个用户有多个角色
    private List<Role> roles;
}
